<h3><?=$e_edit_cat;?>  <?=$name;?></h3>
<div style='float:right;'>
<?=$dir;?>
</div>
<?=$dir_doc;?>
<br>
<form action='<?=$admin_dir_full;?>save_edit/<?=$id;?>/<?=$alias;?>' method='post' >

<br>
<SELECT name='show' size='1'>
 <OPTION value='1'><?=$e_show;?>
 <OPTION value='0'><?=$e_hide;?>
 </SELECT> <br /><br />
 &nbsp; <?=$e_name_cat;?> &nbsp;<img style="background-color:grey;" src="<?=$path;?>templates/images/pw.gif"  border="0">
<input type='text' value='<?=$name;?>' name='name'>
<br /><br />
 <?=$e_langAliasLink;?>
<hr />
<br />
<?foreach($aliaslink As $key=>$value):?>
&nbsp; <?=$value['lang'];?>&nbsp;&nbsp;&nbsp;<img style="background-color:grey;" src="<?=$path;?>templates/images/pw.gif"  border="0">&nbsp;<input name="<?=$value['lang'];?>" type="text" value="<?=$value['text'];?>">
<br /><br />
<?endforeach;?>
  <hr />
   <br />
   <table>
   <tr>
  <td><?=$e_externalAdress;?></td>
  <td><input name="adress" type="text" value="<?=$adress;?>"></td>
  </tr>

<tr>
<td><?=$e_side;?></td>
<td>
<select size="1" name="side" id="sel">
<option value="<?=$side;?>"><?=$side;?></option>
<?foreach($showside as $key=>$value):?>
  <option value="<?=$value['side'];?>"><?=$value['side'];?></option>
  <?endforeach;?>
</select>
</td>
</tr>


<tr>
<td><?=$e_module;?> </td>
<td>
<select size="1" name="module">


 <?foreach($allModules as $key=>$value):?>
   <?if($module==$value['class']):?>  <option value="<?=$module;?>"><?=$value['name_module'];?></option>  <?endif;?>
  <?endforeach;?>

   <?foreach($allModules as $key=>$value):?>
  <option value="<?=$value['class'];?>"><?=$value['name_module'];?></option>
  <?endforeach;?>

</select>
  </td>
  </tr>

 <tr>
<td><?=$e_templates;?></td>
<td>
<select size="1" name="templates">
  <?if($templates=="horiz"):?>
  <option value="horiz"><?=$e_horizont;?></option>
  <option value="vert"><?=$e_vertic;?></option>
  <?else:?>
   <option value="vert"><?=$e_vertic;?></option>
  <option value="horiz"><?=$e_horizont;?></option>
  <?endif;?>

</select>
    </td></tr>


    <tr>
<td><?=$e_template_out;?></td>
<td> <select size="1" name="template_out" onchange="chechk(this);" >

<?foreach($alltemplates as $key=>$value):?>
<?if($template_out==$value['id']):?>  <option value="<?=$value['id'];?>"><?=$value['name'];?></option>  <?endif;?>
  <?endforeach;?>

  <?foreach($alltemplates as $key=>$value):?>
  <option value="<?=$value['id'];?>"><?=$value['name'];?></option>
  <?endforeach;?>

</select>
    </td>
    <td>
<?=$c_ti;?>
</td>
<td>
    <input name="templates_int" type="text" value="<?=$templates_int;?>">
</td>
    </tr>
    <tr>

<td><?=$c_short_a;?>
</td>
<td><input name="short_a" type="checkbox" value="" <? if(!empty($short_a)) echo"checked";?>>
</td>

<td><?=$c_max_short_a;?>
</td>
<td> <input name="max_short_a" type="checkbox" value="" <? if(!empty($max_short_a)) echo"checked";?>>
</td>

</tr>







 <tr><td>
<input type='submit' value='<?=$e_save;?>'>
         </td></tr>
</form>

  <tr><td>
<form action='<?=$admin_dir_full;?>quit/'method='post' >
<input type='submit' value='<?=$e_quit;?>'>
</form>
</td></tr>
</table>


